package com.bangdream.michelia.view.activity.my;

import com.bangdream.michelia.R;
import com.bangdream.michelia.contract.MessageContract;
import com.bangdream.michelia.entity.MessageBean;
import com.bangdream.michelia.presenter.MessagePersenter;
import com.bangdream.michelia.presenter.base.BasePresenter;
import com.bangdream.michelia.view.activity.base.SwipeBackActivity;

import java.util.List;

import cn.sharesdk.onekeyshare.OnekeyShare;

/**
 * @date on 2018/8/11 19:09
 * @email 909732184@qq.com
 * 我的消息详情
 */
public class MessageDetails extends SwipeBackActivity<MessageContract.IMessageView,MessagePersenter<MessageContract.IMessageView>>
implements MessageContract.IMessageView{
    private MessageBean data;
    @Override
    public int getLayout() {
        return R.layout.activity_message_details;
    }

    @Override
    public void findId() {

    }

    @Override
    public void setListener() {

    }

    @Override
    public void logic() {
        initTitleBar(" ","消息详情","",this);
        if(getIntent().getExtras()!=null){
            data = getIntent().getParcelableExtra("data");
        }
        mPresenter.actionRead(1+"",pd);
    }

    @Override
    public MessagePersenter createPresenter() {
        return new MessagePersenter();
    }

    @Override
    public void setUserMessageList(boolean isSuccess, int page, List<MessageBean> data, String stDescribe) {

    }

    @Override
    public void setSystemMessageList(boolean isSuccess, int page, List<MessageBean> data, String stDescribe) {

    }

    @Override
    public void actionRead(boolean isSuccess, String stDescribe) {

    }
}
